<?php
use think\facade\Route;

Route::resource('order', 'order.Index')
    ->only(['index','read', 'save', 'update', 'delete'])
    ->pattern(['id' => '\d+']);

Route::resource('order/status', 'order.Status')
    ->only(['index', 'save', 'update', 'delete'])
    ->pattern(['id' => '\d+']);

Route::resource('order/delivery', 'order.Delivery')
    ->only(['index', 'save', 'update', 'delete'])
    ->pattern(['id' => '\d+']);